using UnityEngine;
using System.Collections;

public static class Utils 
{
	public static void SetActiveRecusively(GameObject obj, bool toSet)
	{
		obj.SetActive(toSet);
		foreach(Transform t in obj.transform)
		{
			SetActiveRecusively(t.gameObject, toSet);
		}
	}
}
